package wicketcool.model.types;

import java.util.ArrayList;
import java.util.List;

/**
 * User: rabbit
 * Date: Aug 6, 2009
 */
public class WCLInterfaceType {

    private final String name;
    private final List<String> genericTypes = new ArrayList<String>();

    public WCLInterfaceType(String name) {
        this.name = name;
    }

    public void addGenericType(String generic) {
        genericTypes.add(generic);
    }

    public List<String> getGenericTypes() {
        return genericTypes;
    }


    public String getName() {
        return name;
    }
}
